home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / comms / non-internet / samba / source / params.h < prev    next >
C/C++ Source or Header  |  1996-06-26  |  1KB  |  46 lines

  1. /* 
  2.    Unix SMB/Netbios implementation.
  3.    Version 1.9.
  4.    Parameter loading utilities
  5.    Copyright (C) Karl Auer 1993, 1994
  6.    
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 2 of the License, or
  10.    (at your option) any later version.
  11.    
  12.    This program is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.    GNU General Public License for more details.
  16.    
  17.    You should have received a copy of the GNU General Public License
  18.    along with this program; if not, write to the Free Software
  19.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. /**************************************************************************
  23. PARAMS.H
  24.  
  25. Copyright (C) 1990, 1991, 1992 Karl Auer
  26.  
  27. Prototypes and definitions for PARAMS.C.
  28. **************************************************************************/
  29. #ifndef _PARAMS_H
  30. #define _PARAMS_H
  31.  
  32. #include <stdio.h>
  33. #include "smb.h"
  34.  
  35. typedef BOOL (* PM_PARMFUNC)(char *pszParmName, char *pszParmValue);
  36. typedef BOOL (* PM_SECFUNC)(char *pszSectionName);
  37.  
  38. #define PM_NOFILE               1
  39. #define PM_NOFILENAME           2
  40. #define PM_FILEERROR            3
  41.  
  42. extern BOOL pm_process(char *pszFileName, PM_SECFUNC sfunc, PM_PARMFUNC pfunc);
  43.  
  44. #endif
  45.  
  46.